import { Property } from "@mikro-orm/core";
import { BaseEntity } from "./Base";

export class Author extends BaseEntity {
    @Property()
    name!: string;

    @Property()
    email!: string;

    @Property()
    pass!: string;

    @Property()
    birthday!: Date;
}
